package org.example.order.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author shenguangyang
 */
@Data
@TableName("t_order")
public class OrderDO {
    private Long id;
    private Long userId;
    /** 产品id */
    private Long productId;
    /** 购买数量 */
    private Integer count;
    /** 金额 */
    private BigDecimal money;
    /** 订单状态：0：创建中; 1：已完结 */
    private Integer status;
}
